import request from "@/utils/request";
// request.post()的返回值是一个Promise对象
export const Register = (data) => {
    return request.post("/h5/user/register", { data });
};
export const Login = (data) => {
    return request.post("/h5/user/login", data);
};
export const Logout = () => {
  return request.get("/h5/user/logout");
};